﻿using System;
using System.Data;
using System.Windows.Forms;
using System.Data.SqlClient;
using QuanLyTuyenSinh.Base;

namespace QuanLyTuyenSinh.Reports
{
    public partial class ReportDSTSDK : Form
    {
      //  private frmDangnhap objDN;
        public ReportDSTSDK()
        {
            InitializeComponent();
        }

        private void crystalReportViewerDSTS_Load(object sender, EventArgs e)
        {
            //SqlCommand cmd = new SqlCommand("GetAllThisinh",ConnectData.Getcon());
            //cmd.CommandType = CommandType.StoredProcedure;
            //SqlDataAdapter DTA = new SqlDataAdapter(cmd);
            //DataTable DTL = new DataTable();
            //DataSet DTS = new DataSet();
            //DTA.Fill(DTS, "Thisinh");
            //DTL = DTS.Tables["Thisinh"];    
            //rptDSTSDK cry = new rptDSTSDK();
            //cry.SetDataSource(DTL);
            //crystalReportViewerDSTS.ReportSource = cry;  
            //crystalReportViewerDSTS.Refresh();
        }

      
    }
}
